package com.huawei.M01.iterator.M14;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.IntStream;

public class Test01 {
    public static void main(String[] args) {
        List<String> list1 = new ArrayList<>();
        List<Object> list2 = new ArrayList<>();

        IntStream.iterate(0,i -> i + 1).limit(10).forEach(System.out::println);
//        list2 = list1;
        System.out.println();
    }
}
